export const handleCommonParams = (params, businessParam) => {
    if (businessParam.orderNumber) {
        params.append('orderNumber', businessParam.orderNumber)
    }
    if (businessParam.tenantId) {
        params.append('tenantId', businessParam.tenantId)
    }
    if (businessParam.applicationId) {
        params.append('applicationId', businessParam.applicationId)
    }
    if (businessParam.status) {
        params.append('status', businessParam.status)
    }
    if (businessParam.deleted) {
        params.append('deleted', businessParam.deleted)
    }
    if (businessParam.deleteUserId) {
        params.append('deleteUserId', businessParam.deleteUserId)
    }
    if (businessParam.startDeleteTime && businessParam.endDeleteTime) {
        params.append('deleteTime', businessParam.startDeleteTime)
        params.append('deleteTime', businessParam.endDeleteTime)
    }
    if (businessParam.remark) {
        params.append('remark', businessParam.remark)
    }
    if (businessParam.createUserId) {
        params.append('createUserId', businessParam.createUserId)
    }
    if (businessParam.startCreateTime && businessParam.endCreateTime) {
        params.append('createTime', businessParam.startCreateTime)
        params.append('createTime', businessParam.endCreateTime)
    }
    if (businessParam.updateUserId) {
        params.append('updateUserId', businessParam.updateUserId)
    }
    if (businessParam.startUpdateTime && businessParam.endUpdateTime) {
        params.append('updateTime', businessParam.startUpdateTime)
        params.append('updateTime', businessParam.endUpdateTime)
    }
    if (businessParam.extend1) {
        params.append('extend1', businessParam.extend1)
    }
    if (businessParam.extend2) {
        params.append('extend2', businessParam.extend2)
    }
    if (businessParam.extend3) {
        params.append('extend3', businessParam.extend3)
    }
}
